

import { observable, configure } from "mobx";
configure({ enforceActions: "never" });
const profileStore = observable({
   
    //剖面的方向
    profileDirection: "x" as "x" | "y" | "z",
    setProfileDirection(direction: "x" | "y" | "z"){
        this.profileDirection = direction;
    },

    //剖面图的正反
    profileSide: "front" as "front" | "back",
    triggerProfileSide(){
        this.profileSide = this.profileSide === "front" ? "back" : "front";
    }

}, {}, { deep: false });
export default profileStore;